import {
	request
} from "./core";
import {
	GET,
	POST,
	path
} from "./config";

const network = {
	// 设备
	getDeviceList() {
		return request(GET, path.getDeviceList);
	},
	// 实时
	getRealTime(params) {
		return request(GET, path.getRealTime);
	},
	// 表格
	getList(params) {
		return request(GET, path.getList, params);
	},
	// 图表
	getLineChart(params) {
		return request(GET, path.getLineChart, params);
	},
	

};
export default network;